package com.jg.visitor.common.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@ToString
public class PageDTO<T> {

    @ApiModelProperty("当前页码")
    private Integer page;

    @ApiModelProperty("每页记录数")
    private Integer pageSize;

    @ApiModelProperty("总数")
    private long total = 0L;

    @ApiModelProperty("返回结果")
    private List<T> data;
}
